#ifndef _DATA_HANDLER_H
#define _DATA_HANDLER_H
#include "Headers.h"

enum QUERY_TYPE{DIFFERENCE, INTERSECTION, UNION};

typedef vector<int> Queryset;
typedef map<string, Queryset> Datamap;

class DataHandler {
    public:
        DataHandler();
        DataHandler(ifstream&);
        
        Queryset query(enum QUERY_TYPE, string, string) const;
        void query_print(enum QUERY_TYPE, string, string) const;
        Datamap _data_map;


    private:
        bool _data_loaded;

};

#endif
